using System;
using System.Collections.Generic;

namespace Light
{
    [Serializable]
    public class SkillItemSO : AbstractItemSO
    {
        public List<upgradeData> upgradeData = new(); //�������ܻ�õ�����
        public bool isAbility; //�Ƿ��Ƿ������༼��
        public List<string> pId; //������������
        public int cost; //���ܻ���
        public bool isActive; //�Ƿ����
    }

    [Serializable]
    public class upgradeData
    {
        public StatTypes statTypes;
        public int skillIncreaseAmount;
        public bool isPercentage;
    }

    public enum StatTypes
    {
        Strength,
        Dexterity,
        Intelligence,
        Health,
        Charisma,
        Constitution,
        Doublejump,
        Dash,
        Teleport
    }
}